package house

const (
	TBL_HOUSER = "t_house"
)

type House struct {
	UserId        string              `json:"user_id" bson:"user_id"`
	HouseList     map[int32]HouseInfo `json:"house_list" bson:"house_list"`
	FurnitureList map[int32]int32     `json:"furniture_list" bson:"furniture_list"`
}

type HouseInfo struct {
	HouseId       int32                   `json:"house_id" bson:"house_id"`
	FurnitureList map[int32]FurnitureInfo `json:"furniture_list" bson:"furniture_list"`
}
type FurnitureInfo struct {
	FurnitureId int32 `json:"furniture_id" bson:"furniture_id"`
	IsOn        bool  `bson:"is_on" bson:"is_on"`
}
